import 'package:get/get.dart';

import '../../view/home_page/home_view.dart';
import '../modules/add_time/add_time_view.dart';
import '../modules/demo/bindings/demo_binding.dart';
import '../modules/demo/views/demo_view.dart';
import '../modules/task_detail/bindings/task_detail_binding.dart';
import '../modules/task_detail/views/task_detail_view.dart';
import '../modules/time_logistic/time_logistic.dart';
import '../modules/video_widget/bindings/video_widget_binding.dart';
import '../modules/video_widget/views/video_widget_view.dart';

part 'app_routes.dart';

class AppPages {
  AppPages._();

  static const INITIAL = Routes.HOME;

  static final routes = [
    GetPage(
      name: _Paths.HOME,
      page: () => HomePage(),
    ),
    GetPage(
      name: _Paths.TASK_DETAIL,
      page: () => TaskDetailView(),
      binding: TaskDetailBinding(),
    ),
    GetPage(
      name: _Paths.DEMO,
      page: () => DemoView(),
      binding: DemoBinding(),
    ),
    GetPage(
      name: _Paths.ADD_TIME,
      page: () => AddTimeView(),
    ),
    GetPage(
      name: _Paths.TIME_LOGISTIC,
      page: () => TimeLogistic(),
    ),
    GetPage(
      name: _Paths.VIDEO_WIDGET,
      page: () => VideoWidgetView(),
      // binding: VideoWidgetBinding(),
    ),
  ];
}
